package com.cb.domain.model.system;


import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.annotations.GenericGenerator;

/**
 * SystemHelp Base Java Bean, base class for the model, mapped directly to database table
 * 
 * Avoid changing this file if not necessary, will be overwritten. 
 *
 * TODO: add class/table comments
 */
@Entity
@Table(name="system_help")
public class SystemHelp implements Serializable {

    protected Long systemId;
	protected String title;
	protected String content;
	protected java.util.Date createDate;
	protected Integer sort;


    

	/**
	 * 	 * @return Short
     * @hibernate.id column="systemId" type="java.lang.Short" generator-class="native"
	 */
	
	@Id     
    @GeneratedValue(generator="Id_Generator")
    @GenericGenerator(name="Id_Generator", strategy="com.cb.common.util.IdGenerator")
	public Long getSystemId() {
		return this.systemId;
	}
	
	/**
	 * Set the systemId
	 */	
	public void setSystemId(Long aValue) {
		this.systemId = aValue;
	}	

	/**
	 * 	 * @return String
	 * @hibernate.property column="title" type="java.lang.String" length="100" not-null="true" unique="false"
	 */
	
	@Column(name = "title")	
	public String getTitle() {
		return this.title;
	}
	
	/**
	 * Set the title
	 * @spring.validator type="required"
	 */	
	public void setTitle(String aValue) {
		this.title = aValue;
	}	

	/**
	 * 	 * @return String
	 * @hibernate.property column="content" type="java.lang.String" length="65535" not-null="true" unique="false"
	 */
	
	@Column(name = "content")	
	public String getContent() {
		return this.content;
	}
	
	/**
	 * Set the content
	 * @spring.validator type="required"
	 */	
	public void setContent(String aValue) {
		this.content = aValue;
	}	

	/**
	 * 	 * @return java.util.Date
	 * @hibernate.property column="createDate" type="java.util.Date" length="10" not-null="true" unique="false"
	 */
	
	@Column(name = "createDate")	
	public java.util.Date getCreateDate() {
		return this.createDate;
	}
	
	/**
	 * Set the createDate
	 * @spring.validator type="required"
	 */	
	public void setCreateDate(java.util.Date aValue) {
		this.createDate = aValue;
	}	

	/**
	 * 	 * @return Integer
	 * @hibernate.property column="sort" type="java.lang.Integer" length="10" not-null="false" unique="false"
	 */
	
	@Column(name = "sort")	
	public Integer getSort() {
		return this.sort;
	}
	
	/**
	 * Set the sort
	 */	
	public void setSort(Integer aValue) {
		this.sort = aValue;
	}	

}